﻿#include "FITKMeshGenAFLRInterface.h"
#include "FITKAFLRSurfaceMeshModel.h"
//#include "FITKOFGeometryMeshSizeGenerator.h"
#include "FITKAFLRMesherDriver.h"
#include "FITKAFLRMeshProcessor.h"
#include "FITK_Interface/FITKInterfaceMeshGen/FITKMeshGenInterface.h"
#include "FITKAFLRMeshSizeGenerator.h"
#include "FITKAFLRMesherDriver.h"

namespace AFLR
{
    FITKMeshGenAFLRInterface::FITKMeshGenAFLRInterface()
    {
        //获取工厂
        Interface::FITKMeshGenInterface* mf = Interface::FITKMeshGenInterface::getInstance();
        if (nullptr == mf) return;
        //注册相关类
        mf->regMeshSizeGenerator(new FITKAFLRMeshSizeGenerator);
        //mf->regGeometryMeshSizeGenerator(new FITKOFGeometryMeshSizeGenerator);
        mf->regMesherDriver(new FITKAFLRMesherDriver);
        mf->regMeshProcessor(new FITKAFLRMeshProcessor);
    }


    QString FITKMeshGenAFLRInterface::getComponentName()
    {
        //名称
        return QString("FITKMeshGenAFLR");
    }

    bool FITKMeshGenAFLRInterface::exec(const int indexPort)
    {
        return false;
    }


}



